Tool scripts
============
select all provinces where ? = true
  ?:	terrain =
	provNum >
	name !=
	fort < 0
	temple = true

then ?
  ?:	set terrain = 
	set name =
	set fort =
	set temple =
	set nostart = true
=====================================
Sample script: "SampleTool.mfs"

#sample script...
#comment line is ignored
:TOOL
  Sample Tool
:SELECT PROVINCES WHERE
  tplain = TRUE
:THEN
  #province data modified
  knownfeature = 268
  temple = TRUE
  lab = TRUE
  nostart = TRUE

:SELECT PROVINCES WHERE
  tforest = TRUE
:THEN
  #commander added to province
  comtype = 521
  comname = "Bob"
  bodyguard = 433
  bodyguardcount = 12
  item = "Thunder Whip"

=====================================
Sample script: "MarkNoStartTool.mfs"

# Mark all provinces nostart
:TOOL
  Mark all NoStart
:SELECT ALL PROVINCES
:THEN
  nostart = TRUE


=====================================
Sample script: "NoIndependentsTool.mfs"

# Make NI map (No Independents)
:TOOL
  Make NI Map
:SELECT ALL PROVINCES
:THEN
  poptype = 99

=====================================
Sample script: "MuddySeasTool.mfs"

# Make seas unattractive
:TOOL
  Muddy Seas
:SELECT PROVINCES WHERE
  tsea = TRUE
:THEN
  #kill is equiv to #land (clears province)
  kill = TRUE
  poptype = 99
  population = 0
  